﻿using Newtonsoft.Json.Converters;
using Newtonsoft.Json;
using SqlSugar;
using System;
using wnet.admin.wentcommon;


namespace Models
{/// <summary>
 /// 设备信息
 /// </summary>
    [SugarTable("yw_equipment")]
    public class yw_equipment
    {
        /// <summary>
        /// 备  注:  
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// 备  注:设备名称
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "title")]
        public string title { get; set; }

        /// <summary>
        /// 备  注:状态 0正常使用 1维修中 2报废  3待检修
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "states")]
        public int states { get; set; }

        /// <summary>
        /// 备  注:设备类型
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "typename")]
        public string typename { get; set; }

        /// <summary>
        /// 备  注:品牌 
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "brandname")]
        public string brandname { get; set; }

        /// <summary>
        /// 备  注:型号和规格
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "specifications")]
        public string specifications { get; set; }

        /// <summary>
        /// 备  注:购买日期
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "purchasedate")]
        public string purchasedate { get; set; }

        /// <summary>
        /// 备  注:保修期
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "defectsliabilityperiod")]
        public string defectsliabilityperiod { get; set; }

        /// <summary>
        /// 备  注:负责人
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "personcharge")]
        public string personcharge { get; set; }

        /// <summary>
        /// 备  注:存放位置
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "archivetimecation")]
        public string archivetimecation { get; set; }

        /// <summary>
        /// 备  注:创建时间
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "createtime")]
        public DateTime createtime { get; set; }

        /// <summary>
        /// 备  注:修改时间
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "updatetime")]
        public DateTime updatetime { get; set; }

        /// <summary>
        /// 备  注:唯一标识
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "equno")]
        public string equno { get; set; }

        /// <summary>
        /// 备  注:端口号
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "equport")]
        public string equport { get; set; }

        /// <summary>
        /// 备  注:IP地址
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "equip")]
        public string equip { get; set; }

        /// <summary>
        /// 备  注:详细地址
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "equaddress")]
        public string equaddress { get; set; }

        /// <summary>
        /// 备  注:省
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "province")]
        public string province { get; set; }

        /// <summary>
        /// 备  注:市
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "city")]
        public string city { get; set; }

        /// <summary>
        /// 备  注:区
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "area")]
        public string area { get; set; }

        /// <summary>
        /// 备  注:检修周期[天]
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "maintenancecycleday")]
        public int? maintenancecycleday { get; set; }

        /// <summary>
        /// 备  注:安装时间
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "installtime")]
        public DateTime? installtime { get; set; }

        /// <summary>
        /// 备  注:安装时间
        /// 默认值:
        /// </summary>
        [SugarColumn(ColumnName = "jianxiutime")]
        public DateTime? jianxiutime { get; set; }



    }
}